include_directories(
${SurvivalAnalysis_SOURCE_DIR}/pCox 
${SurvivalAnalysis_SOURCE_DIR}/tclap-1.2.1/include
${SurvivalAnalysis_SOURCE_DIR}/common
)

link_directories(${SurvivalAnalysis_BINARY_DIR}/pCox)

set (PCOX_SOURCE
Data.h
Likelihood.h
ModelFile.h
ModelTypeParam.h
ParamMatrix.h
PolyZO.h
QuasiNewton.h
DataFactory.h
CommandLine.cpp
Likelihood.cpp
PolyZO.cpp
DataFactory.cpp
${SurvivalAnalysis_SOURCE_DIR}/common/blmvm-1.1ez.c
${SurvivalAnalysis_SOURCE_DIR}/common/Matrix.cpp
${SurvivalAnalysis_SOURCE_DIR}/common/Milliseconds.cpp
${SurvivalAnalysis_SOURCE_DIR}/common/OutputFormat.cpp
${SurvivalAnalysis_SOURCE_DIR}/common/QNOpt.cpp
${SurvivalAnalysis_SOURCE_DIR}/common/StrataSplit.cpp
)

add_definitions(-DSYMBOLIC)

add_executable(pCoxReg ${PCOX_SOURCE})
#target_link_libraries(pCox m)

